<?php

declare(strict_types=1);

namespace Plugin\Attractions\AttractionManagement\Model;

use Hyperf\DbConnection\Model\Model as MineModel;

/**
 * @property int $spot_id 点位id
 * @property int $tag_id 标签id
 */
class AttractionSpotTag extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'attraction_spot_tag';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['spot_id', 'tag_id', 'sort'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['spot_id' => 'integer', 'tag_id' => 'integer', 'sort' => 'integer'];

}